package org.jenijo.querydroid.model;

import java.io.Serializable;
import java.util.ArrayList;

public class Question implements Serializable{
	private static final long serialVersionUID = 1183994708376066050L;
	private int num_quest;
	private String enonce;
	private ArrayList<Reponse> reponses = new ArrayList<Reponse>();
	
	public Question(int num_quest, String enonce) {
		super();
		this.num_quest = num_quest;
		this.enonce = enonce;
	}
	/**
	 * @return the num_quest
	 */
	public int getNum_quest() {
		return num_quest;
	}
	/**
	 * @return the enonce
	 */
	public String getEnonce() {
		return enonce;
	}
	/**
	 * @return the reponses
	 */
	public ArrayList<Reponse> getReponses() {
		return reponses;
	}
	public void addReponse(Reponse r){
		this.reponses.add(r);
	}
}
